import ProfileForm from "@/features/ProfileForm"
import { useAppSelector } from "@/app/hooks"
import { selectUser } from "@/app/user/userSlice"

const ProfilePage = () => {
  const user = useAppSelector(selectUser)
  return (
    <div className="flex flex-col gap-6">
      <h1 className="scroll-m-20 text-4xl font-medium">{user?.fullName}</h1>
      <ProfileForm />
    </div>
  )
}
export default ProfilePage
